package com.sean.gulimall.product.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sean.gulimall.product.entity.AttrEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author sean
 * @email sean_xin@126.com
 * @date 2022-05-22 21:41:07
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
     * 根据属性分组id查询所有的属性
     * @param attrGroupId
     * @return
     */
    List<AttrEntity> getAttrByAttrGroupId(@Param("attrGroupId") Long attrGroupId);



}
